toggle menu
JxBrowser
8.2.1
jvm
switch theme
search in API
JxBrowser
/
com.teamdev.jxbrowser.browser.callback
/
[jvm]BeforeUnloadCallback
/
Action
Action
public
final
class
Action
extends
AsyncCallbackAction
<
R
>
A responder for the
BeforeFormRepostCallback
.
Members
Constructors
Before
Unload
Callback.
Action
Link copied to clipboard
public
void
BeforeUnloadCallback.Action
(
Consumer
<
BeforeUnload.Response
>
consumer
)
Functions
is
Closed
Link copied to clipboard
public
final
boolean
isClosed
(
)
Returns
true
if this action is closed.
leave
Link copied to clipboard
public
void
leave
(
)
Notifies the browser that the user decided to leave the current page.
stay
Link copied to clipboard
public
void
stay
(
)
Notifies the browser that the user decided to stay on the current page.